package com.bckj.fastboot.upms.biz.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.upms.api.entity.User;
import com.bckj.fastboot.upms.api.vo.UserVO;
import com.bckj.fastboot.upms.api.dto.UserRequest;

import org.mapstruct.Mapper;

/**
 * 用户表(User)数据转换
 *
 * @author wfc
 * @since 2023-09-14 16:05:36
 */
@Mapper(config = MapStructConfig.class)
public interface UserConvert {

    User request2Bean(UserRequest request);
    
    UserVO bean2VO(User bean);
}
